package com.qian.apiserver.entity;

import com.yaowk.service.common.BaseEntity;
import com.yaowk.service.common.GeneratorNote;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import java.math.BigDecimal;

@Getter
@Setter
@ToString
@DynamicInsert
@DynamicUpdate
@Entity
/**
 * 牌型概率
 */
public class GmProbability extends BaseEntity<Integer> {
    @GeneratorNote("牌型类型")
    private String type;
    @GeneratorNote("牌型概率")
    private BigDecimal rate;
}
